
#import <Foundation/Foundation.h>

@interface NSDate (FormatString)

- (NSString *)stringWithFormat:(NSString *)fmt;
+ (NSDate *)dateFromString:(NSString *)str withFormat:(NSString *)fmt;
+ (NSDate *)dateFromString:(NSString *)str withFormat:(NSString *)fmt locale:(NSLocale *)locale;

@end
